package com.dy.nygl.service;

import java.util.List;

import com.dy.nygl.pojo.User;

public interface UserService {
	
	public User login(String account ,String password);
	
	public User checkUser(String account);
	
	public int updateUser(User user);
	
	public List<User> selectAll();
	
	public User selectOne(int id);
	
	public boolean deleteUser(Integer id);
	
    public User selectUserByName(String name);
	
	
	
}
